package cn.yz.fresh.dao.impl;

import cn.yz.fresh.dao.INavigateDAO;
import cn.yz.fresh.pojo.Navigate;
import org.mybatis.spring.support.SqlSessionDaoSupport;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Kim昌完 on 2017/8/30.
 */
@Repository
public class NavigateDAOImpl extends SqlSessionDaoSupport implements INavigateDAO {

    @Override
    public List<Navigate> queryAllNavigate() {
      return super.getSqlSession().selectList("cn.yz.fresh.pojo.Navigate.queryAll");
    }
}
